import { Button } from "@/components/ui/button";
import type { ColDef } from "ag-grid-community";
import type { CustomCellRendererProps } from "ag-grid-react";

const ActionsRender = (params: CustomCellRendererProps) => {
  return (
    <div className="flex flex-row">
      <Button>start</Button>
    </div>
  );
};
const columns: ColDef[] = [
  { field: "id", width: 150 },
  { field: "name", width: 150 },
  { field: "url", width: 300 },
  { field: "action", width: 200, cellRenderer: ActionsRender },
];
export { columns };
